// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fowo.api.common.annotaion.*;
import com.fowo.api.sys.entity.*;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * SupplierFlowFormRelationLog
 */
@DS("ds24")
@Getter
@Setter
@TableName(value = "supplier_flow_form_relation_log", autoResultMap = true)
@Schema(title = "供应商流程表单实例日志")
public class SupplierFlowFormRelationLog implements Serializable {

  /**
   * 所属供应商流程表单实例
   */
  @TableField(value = "`parent_supplier_flow_form_relation`")
  @JoinField(SupplierFlowFormRelation.class)
  @Schema(title = "所属供应商流程表单实例")
  private Long parentSupplierFlowFormRelation;

  /**
   * 编号
   */
  @TableField(value = "`id`")
  @TableId(type = IdType.ASSIGN_ID)
  @Schema(title = "编号")
  private Long id;

  /**
   * 创建时间
   */
  @TableField(value = "`create_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "创建时间")
  private java.util.Date createTime;

  /**
   * 创建人
   */
  @TableField(value = "`create_user`")
  @Schema(title = "创建人")
  private Long createUser;

  /**
   * 更新时间
   */
  @TableField(value = "`last_update_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "更新时间")
  private java.util.Date lastUpdateTime;

  /**
   * 更新人
   */
  @TableField(value = "`last_update_user`")
  @Schema(title = "更新人")
  private Long lastUpdateUser;

  /**
   * 删除标记
   */
  @TableField(value = "`del_flag`")
  @TableLogic
  @Schema(title = "删除标记")
  private Boolean delFlag;

  /**
   * 任务编码
   */
  @TableField(value = "`en_code`")
  @Schema(title = "任务编码")
  private String enCode;

  /**
   * 流程节点
   */
  @TableField(value = "`flow_node_id`")
  @JoinField(SupplierFlowNode.class)
  @Schema(title = "流程节点")
  private Long flowNodeId;

  /**
   * 表单id
   */
  @TableField(value = "`form_id`")
  @Schema(title = "表单id")
  private Long formId;

  /**
   * 表单状态
   */
  @TableField(value = "`form_status`")
  @Schema(title = "表单状态")
  private String formStatus;

  /**
   * 执行人
   */
  @TableField(value = "`do_user`")
  @JoinField(SysUser.class)
  @Schema(title = "执行人")
  private Long doUser;
}
